







[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Creates an IComparer instance that can be used for comparing ordered
sequences of type T; that is IEnumerable<Tgt;. This comparer can be uses
for collections or algorithms that use sequences of T as an item type. The Lexicographics
ordered of sequences is for comparison.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
C# |
---|
public static IComparer<IEnumerable<T>> GetLexicographicalComparer<T>( Comparison<T> comparison ) |
Visual Basic (Declaration) |
---|
Public Shared Function GetLexicographicalComparer(Of T) ( _ comparison As Comparison(Of T) _ ) As IComparer(Of IEnumerable(Of T)) |
Visual C++ |
---|
public: generic<typename T> static IComparer<IEnumerable<T>^>^ GetLexicographicalComparer ( Comparison<T>^ comparison ) |
Parameters
- comparison
- Comparison<(Of <T>)>
A comparison delegate used to compare individual items of type T.
Return Value
At IComparer<IEnumerable<T>> that compares sequences of T.
Type Parameters
- T
See Also
Algorithms Class
Wintellect.PowerCollections Namespace